# -*- coding: utf-8 -*-
"""
Created on Tue Jun  1 00:14:45 2021

@author: ZHOU
"""

import time
import threading



def delay(a):
    print( time.time(),'10s',a)
    print( time.time())
    s = threading.Timer(10,delay,("delay",))
    s.start()
    print( time.time())
    
def main():
    print('1')
    delay(10)
    print('2')

main()